package com.escope.casemanager.service;

import com.escope.casemanager.exception.MsgException;
import com.escope.casemanager.model.HttpResult;
import com.escope.casemanager.model.SysUser;

import javax.servlet.http.HttpServletResponse;

/**
 * Administrator
 * 2024/3/15
 */
public interface SysUserService {
    HttpResult accLogin(String userCode, String password, HttpServletResponse response);
    void logout();

    SysUser findById(Long userId);

    /**
     * @Auther  吕伟林
     * @Des 登录后修改密码
     * @Date 2021/7/7 10:08
     */
    void updatePassword(Long userId, String oldPassword, String newPassword) throws MsgException;
}
